// 动态引入图片资源,解决vite打包后路径编译错误
export function getImageUrl(name: string) {
    return new URL(`../assets/images/${name}.mp4`, import.meta.url).href
  }
export function getImage(name: string) {
    return new URL(`../assets/${name}.svg`, import.meta.url).href
  }
  export function getImageGif(name: string) {
    return new URL(`../assets/images/${name}.gif`, import.meta.url).href
  }
  